$(document).ready(function(){
  			$(".select_left").click(function(){ 
  				$(".box_first").toggle();
           $(".box_second").hide();			
  			});

        $(".select_right").click(function(){ 
          $(".box_second").toggle();  
          $(".box_first").hide();     
        });

        $("#new_first").click(function(){ 
          $("#hidden_preferential_first").toggle();     
        });

         $("#new_second").click(function(){ 
          $("#hidden_preferential_second").toggle();     
        });		

        $(".box_item_no").click(function(){ 
          $(".box_item_no").attr("style","color: #333333; background-color: white; border: solid 1px #a0a0a0;");   
          $(".box_item_yes").attr("style","color: #333333; background-color: white; border: solid 1px #a0a0a0;");   
          $(this).attr("style","color: white;background-color: #ff6633;border: solid 1px #FF6633;");      
        });

        $(".box_item_yes").click(function(){ 
          $(".box_item_no").attr("style","color: #333333; background-color: white; border: solid 1px #a0a0a0;");   
          $(this).attr("style","color: white;background-color: #ff6633;border: solid 1px #FF6633;");      
        });

        $(".box_item_b").click(function(){ 
          $(".box_item_b").attr("style","color: #333333; background-color: white; border: solid 1px #a0a0a0;");   
          $(".box_item_a").attr("style","color: #333333; background-color: white; border: solid 1px #a0a0a0;");   
          $(this).attr("style","color: white;background-color: #ff6633;border: solid 1px #FF6633;");      
        });

        $(".box_item_a").click(function(){ 
          $(".box_item_b").attr("style","color: #333333; background-color: white; border: solid 1px #a0a0a0;");   
          $(this).attr("style","color: white;background-color: #ff6633;border: solid 1px #FF6633;");      
        });

        $(".top_second").click(function(){ 
          $(".top_first").attr("style","color: #ffffff;background-color: #000000;");   
          $(this).attr("style","color: #000000;background-color: #ffffff;");      
        }); 

        $(".top_first").click(function(){ 
          $(".top_second").attr("style","color: #ffffff;background-color: #000000;");   
          $(this).attr("style","color: #000000;background-color: #ffffff;");      
        });  	

  		});


